We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11543
    • 9 Posts
    Hi all,

    One of my sites that still has 1.0.4 is suddenly acting weird. When I try to log into the manager, the login-button doesn’t do anything. Checked the database, but is seems to be alright (as far as I can check it). Also tried to restore the files from backup, but that also didn’t help. Then tried to upgrade to 1.0.5, but the only option I can choose is ’new installation’. Can’t change it into ’upgrade’.

    What can I do? I didn’t change anything (as far as I can remember). I don’t have the backup for my template/css anymore, so new installation would be bad... embarrassed


    Any help is welcome! smiley

    Server OS: Linux
    Version: Apache 1.3.41
    PHP Version: 5.2.9
    MySQL Version: 5.0.92
    • Is your manager/includes/config.inc.php file there and in-tact? Is it readable in terms of file permissions?
        Mike Schell
        Lead Developer, MODX Cloud
        Email: [email protected]
        GitHub: https://github.com/netProphET/
        Twitter: @mkschell
        • 11543
        • 9 Posts
        Hi, thanks for the reply.

        I checked the file and it seems alright. Permissions 600, is that okay?
        • Probably not; although that depends on your server configuration. What that permissions setting says is "owner has read/write permissions, nobody else can even read the file". If your server is not running some kind of suexec (switch user to the file’s owner when executing a PHP script like index.php) then the web server’s user is trying to read that file. In that case, permission needs to be 644 (owner can read/write, everybody else can read).
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 11543
            • 9 Posts
            I compared the permissins with a couple of other sites, but they all have ’600’. So that seems to be alright...

            I figured out why I couldn’t upgrade. So next I’ll upgrade and see what happens...
              • 11543
              • 9 Posts
              Hmmm... upgrading still is no option... huh
              • I noticed the same thing this morning with a 1.0.4 site. I was working in the site last week and then this morning, I put in my u/p and nothing happens. Did you find a resolution to this?
                  Lee Brinckley
                  Manassas, VA (Washington DC)
                  Twitter - @leebrinckley
                  http://www.leebrinckley.com
                  • 11543
                  • 9 Posts
                  Sadly no.... :’( I even tried to do a new installation on a clean database, but couldn’t do that... Guess I have to start over from scratch...
                  • It really sounds as if something must have changed on your hosting account. Have you opened up a support ticket with your hoster with the specific date when things stopped working normally? If you could log into modx one day, and not the next day, and now you can’t even install modx, it doesn’t sound like it could be a problem with modx itself.
                      Mike Schell
                      Lead Developer, MODX Cloud
                      Email: [email protected]
                      GitHub: https://github.com/netProphET/
                      Twitter: @mkschell
                      • 11543
                      • 9 Posts
                      Yeah, I thought of that. The thing is: I have several (modx-)sites on the same server and the others still work fine, so the host told me all settings for mysql & php must be okay.

                      Could the site have been hacked somehow?